Abstract
Trusted Execution Environment (TEE) is a blooming direction in the cloud industry. Aiming at protecting cloud user’s data in runtime, TEE can enable a lot of new and foreseeable cloud use cases. While enclave-based TEEs such as Intel SGX suffer from a large effort of rewriting existing code, VM-based TEEs such as Intel Trust Domain Extension (TDX) and AMD Secure Encrypted Virtualization (SEV) attract more and more people’s attention. Among those VM-based TEEs, AMD SEV is a security extension for the AMD Virtualization (AMD-V) architecture, which is AMD’s ambitious movement towards confidential cloud computing. SEV allows one physical server to efficiently run multiple guest virtual machines (VM) concurrently on encrypted memory with the goal of protecting the security of guest VMs even in the presence of a malicious hypervisor. SEV is also believed to be the first and the only commercial VM-based TEE that has already been adopted in Google Cloud and Microsoft Azure at the time of writing. However, the strong assumption of SEV causes uncertainty in its security guarantee. The lack of a systematic security study in this new assumption makes some unexploited vulnerabilities possible. Thus, it is very urgent to fully study SEV’s design and help the community better understand SEV. In this dissertation, we systematically study the structure of AMD SEV’s design, including angles from both hardware and software. By comprehensively exploring SEV’s different components, we reveal how SEV’s hardware and software work together to provide a trusted execution environment, and we also explore several unexploited vulnerabilities in SEV. ii Here, we briefly outline five categories of vulnerable designs in SEV and the corresponding security attacks. In Chapter 3, we exploit the unprotected I/O operations of SEV-enabled VMs and show that the malicious hypervisor can breach the confidentiality and the integrity of guest VMs with the help of these I/O operations. In Chapter 4, we explore the improper Address Space Identifier (ASID)-based memory isolation and access control. We show that the untrusted hypervisor has control over the VM’s ASID without necessary hardware limits. We exploit this design and propose a series of attacks called CROSSLINE attacks. We show that this vulnerable design can be used to decrypt VM’s encrypted memory or to momentarily execute arbitrary instructions of the victim VM. In Chapter 5, we provide the first exploration of TLB management in SEV. We first demystify how SEV extends the TLB implementation and show that the TLB management is no longer secure under SEV’s threat model, which allows the hypervisor to poison TLB entries between two processes of a SEV VM. We then present TLB Poisoning Attacks, a class of attacks that break the integrity and confidentiality of the SEV VM by poisoning its TLB entries. In Chapter 6, we explore the context switch between the guest VM and the host. We show that during context switch, encrypting the virtual CPU’s register stored in the VM Save Area is not enough, which allows the privileged adversary to infer the guest VM’s execution states or recover certain plaintext. To demonstrate the severity of the vulnerability, we present the CIPHERLEAKS attack, which exploits the ciphertext side channel to steal private keys from the constant-time implementation of RSA and ECDSA in the latest OpenSSL library
Before one delves into Rousseau’s child-ce...
Background to the Study
Learning of mathematics developsgood knowledgeand understanding because of its...
ABSTRACT
This study investigated the perceptions of stake holders on the Academic Staff Development Programmes for Laboratory Skills Acqu...
ABSTRACT
The research work examined the Effect of Interest Rate on Investment and Money Demand in Nigerian Economy&...
Background of study
In Nigeria, a rising proportion of the country's adolescents are becoming new p...
ABSTRACT
Although efficient Internal control is a critical component of company management and a f...
BACKGROUND OF THE STUDY
Adolescence, or puberty, is a period of great opportunity and hope. It is the period between chi...
BACKGROUND OF STUDY
Following the introduction of Western education in Nigeria through missionary soci...
BACKGROUND OF THE STUDY
The modern technology and Economic development in recent years have...
ABSTRACT
This research work is to investigate the impact of promotional activities on the consumption of a...